package com.zf.springdoc.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * @author Zhou Feng
 */
@Getter
@Setter
@Schema(description = "用户信息")
public class UserInfo {
    @Schema(description = "姓名")
    private String name;
    @Schema(description = "年龄")
    private Integer age;
    @Schema(description = "密码", hidden = true)
    private String password;
}
